// $Id$
// Licensed under Apache License Version 2.0
// See: http://www.apache.org/licenses/LICENSE-2.0.html
package de.servicezombie.tcmdb.rest.vo;

import java.util.Date;

public class WsAccessRecord extends AbstractWsDomainObject<WsEffort> {

	private static final String UNKNOWN_PROCESS = "unknown-process";
	
	public Date created = new Date();
	public String idOfCreator = UNKNOWN_PROCESS;

	public Date lastChanged;
	public String idOfChanger = UNKNOWN_PROCESS;

	public Date getCreated() {
		assert created != null;
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getIdOfCreator() {
		assert idOfCreator != null;
		return idOfCreator;
	}

	public void setIdOfCreator(String idOfCreator) {
		this.idOfCreator = idOfCreator;
	}

	public Date getLastChanged() {
		assert lastChanged != null;
		return lastChanged;
	}

	public void setLastChanged(Date lastChanged) {
		this.lastChanged = lastChanged;
	}

	public String getIdOfChanger() {
		assert idOfChanger != null;
		return idOfChanger;
	}

	public void setIdOfChanger(String idOfChanger) {
		this.idOfChanger = idOfChanger;
	}

}
